package ronglei.day01.demo03;

import java.util.Scanner;

public class Scanner01 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int num = sc.nextInt();
        System.out.println("我输入的是"+num);

        int ge = num % 10;
        System.out.println(ge);

//        String str = sc.next();
//        System.out.println("输入的字符串是"+str);
    }
}
